Total Complexity | 25 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 114 |
Lines of code | 60 |
Logical lines of code | 35 |
Comment lines | 32 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
replace_cart_url() | 57 | 11 | 14 | |
add_to_cart_redirect() | 62 | 4 | 12 | |
add_to_cart_params() | 62 | 4 | 11 | |
__construct() | 63 | 2 | 10 | |
instance() | 71 | 2 | 6 | |
add_to_cart_message() | 67 | 2 | 7 |